<template>
  <div class="home-hz">
    <div class="list">
      <div class="item">
        <div class="icon-box">
          <img class="icon" src="@/assets/imgs/u87.png" alt />
        </div>
        <div class="title">永久展</div>
        <div class="btn pointer">业务合作</div>
      </div>
      <div class="item">
        <div class="icon-box">
          <img class="icon" src="@/assets/imgs/u88.png" alt />
        </div>
        <div class="title">临时展</div>
        <div class="btn pointer">一般咨询</div>
      </div>
      <div class="item">
        <div class="icon-box">
          <img class="icon" src="@/assets/imgs/u89.png" alt />
        </div>
        <div class="title">在线咨询</div>
        <div class="btn pointer">媒体合作</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Home',
  components: {},
  data() {
    return {}
  }
}
</script>
<style lang="scss" scoped>
@import '@/assets/css/base.scss';
.home-hz {
  text-align: center;
  margin-top: 60px;
  .list {
    display: flex;
    align-items: center;
    justify-content: center;
    .item {
      display: flex;

      align-items: center;
      flex-direction: column;
      margin-right: 180px;
      &:last-child {
        margin-right: 0;
      }
      .icon-box {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: #eee;
        position: relative;
        .icon {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 50px;
          height: 50px;
        }
      }
      .title {
        font-size: 22px;
        font-weight: bold;
        margin: 20px 0;
      }
    }
  }
  .btn {
    width: 160px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0);
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: $base-color;
    border-radius: 5px;
    font-size: 13px;
    line-height: 40px;
    color: $base-color;
    &:hover {
      color: #fff;
      background-color: $base-color;
    }
  }
}
</style>
